package com.itheima.mybatisplusdemo.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "employee_role")
public class EmployeeRole {

    private Long employeeId;
    private Long roleId;

    @TableLogic
    private Integer del;

}
